
# books = ["渡夏", "云之彼端，约定的地方2019版", "寒远", "祥云朵朵当空飘影视剧《七时吉祥》原著小说）",
#          "没有人像你", "悲伤逆流成河",  "等星星坠落",  "问你花园（特签版）许念念著",  "跨界演员", "只想喜欢你岁见高糖新作"]
#
# for book in books:
#     count = 0
#     for i in range(len(book)):
#         print(book[i], end="")
#         count += 1
#         if count > 7:
#             print("...", end="")
#             break
#     print("")
#

list1 = ['Ra in', 'C ats', 'and', 'Do g']

# for i in range(len(list1)):
#     idx = list1[i].find(" ")
#     list1[i] = list1[i][:idx:] + list1[i][idx+1:]
# print(list1)
symbol = ""
for i in range(len(list1)):
    list1[i] = list1[i].split(" ")
    list1[i] = symbol.join(list1[i])
print(list1)

#
# Names = ["张三", "李四", "王五", "王小东", " ", "张飞", "王新宇"]
# for name in Names:
#     idx = name.find("王")
#     if idx != -1:
#         print(name)
#
# a = [23, 45, 66, 82, 97, 120, 135]
# b = []
# c = []
# for temp in a:
#     if temp % 2 != 0:
#         b.append(temp)
#     else:
#         c.append(temp)
# print("奇数列表", a)
# print("偶数列表", b)
#
# a = b + c
# print(f"合并的数组：{a}")
# a.sort()
# print(f"排序后的数组：", a)
#
#
